import java.util.Scanner;

public class pjs {
    public static void main(String[] args)
    {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入5个数字");
        int a[];
        int sum=0;
        a=new int[5];
        for (int i =0;i<5;i++){
            a[i]=scanner.nextInt();
            sum=a[i]+sum;
        }
        System.out.println("平均数为:"+sum/5);
    }
}
